package com.redwine.app.net.responses;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * 我的报价
 * 作者：gassion on 17/9/9 18:36
 * 最可怕的敌人，就是没有坚强的信念。
 */
public class MyOfferResponse extends BaseResponse {

    /**
     * data : {"data":[{"id":"35","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/20/015106865599.png","price":"20.00","msg":"能便宜点不","city":"2","publish_id":"5","date":"2017-08-20 01:51:06","uid":"8","status":"1","publish_info":{"id":"5","title":"22222","num":"11111","price":"2222.00","city":"1","invoice":"1","anonymous":"1","content":"3333","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/08/183015353093.png","uid":"6","date":"2017-08-26 17:03:25","status":"6","nickname":"gassion"}}],"allpage":2,"page":1}
     */

    private DataEntityX data;

    public DataEntityX getData() {
        return data;
    }

    public void setData(DataEntityX data) {
        this.data = data;
    }

    public static class DataEntityX {
        /**
         * data : [{"id":"35","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/20/015106865599.png","price":"20.00","msg":"能便宜点不","city":"2","publish_id":"5","date":"2017-08-20 01:51:06","uid":"8","status":"1","publish_info":{"id":"5","title":"22222","num":"11111","price":"2222.00","city":"1","invoice":"1","anonymous":"1","content":"3333","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/08/183015353093.png","uid":"6","date":"2017-08-26 17:03:25","status":"6","nickname":"gassion"}}]
         * allpage : 2
         * page : 1
         */

        private int allpage;
        private int page;
        private List<DataEntity> data;

        public int getAllpage() {
            return allpage;
        }

        public void setAllpage(int allpage) {
            this.allpage = allpage;
        }

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public List<DataEntity> getData() {
            return data;
        }

        public void setData(List<DataEntity> data) {
            this.data = data;
        }

        public static class DataEntity {
            /**
             * id : 35
             * pic : https://t-app.baisouhj.com/image/hongjiu/201708/20/015106865599.png
             * price : 20.00
             * msg : 能便宜点不
             * city : 2
             * publish_id : 5
             * date : 2017-08-20 01:51:06
             * uid : 8
             * status : 1
             * publish_info : {"id":"5","title":"22222","num":"11111","price":"2222.00","city":"1","invoice":"1","anonymous":"1","content":"3333","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/08/183015353093.png","uid":"6","date":"2017-08-26 17:03:25","status":"6","nickname":"gassion"}
             */

            private String id;
            private String pic;
            private String price;
            @SerializedName("msg")
            private String msgX;
            private String city;
            private String publish_id;
            private String date;
            private String uid;
            @SerializedName("status")
            private String statusX;
            private PublishInfoEntity publish_info;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getMsgX() {
                return msgX;
            }

            public void setMsgX(String msgX) {
                this.msgX = msgX;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getPublish_id() {
                return publish_id;
            }

            public void setPublish_id(String publish_id) {
                this.publish_id = publish_id;
            }

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getStatusX() {
                return statusX;
            }

            public void setStatusX(String statusX) {
                this.statusX = statusX;
            }

            public PublishInfoEntity getPublish_info() {
                return publish_info;
            }

            public void setPublish_info(PublishInfoEntity publish_info) {
                this.publish_info = publish_info;
            }

            public static class PublishInfoEntity {
                /**
                 * id : 5
                 * title : 22222
                 * num : 11111
                 * price : 2222.00
                 * city : 1
                 * invoice : 1
                 * anonymous : 1
                 * content : 3333
                 * pic : https://t-app.baisouhj.com/image/hongjiu/201708/08/183015353093.png
                 * uid : 6
                 * date : 2017-08-26 17:03:25
                 * status : 6
                 * nickname : gassion
                 */

                private String id;
                private String title;
                private String num;
                private String price;
                private String city;
                private String invoice;
                private String anonymous;
                private String content;
                private String pic;
                private String uid;
                private String date;
                @SerializedName("status")
                private String statusX;
                private String nickname;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getNum() {
                    return num;
                }

                public void setNum(String num) {
                    this.num = num;
                }

                public String getPrice() {
                    return price;
                }

                public void setPrice(String price) {
                    this.price = price;
                }

                public String getCity() {
                    return city;
                }

                public void setCity(String city) {
                    this.city = city;
                }

                public String getInvoice() {
                    return invoice;
                }

                public void setInvoice(String invoice) {
                    this.invoice = invoice;
                }

                public String getAnonymous() {
                    return anonymous;
                }

                public void setAnonymous(String anonymous) {
                    this.anonymous = anonymous;
                }

                public String getContent() {
                    return content;
                }

                public void setContent(String content) {
                    this.content = content;
                }

                public String getPic() {
                    return pic;
                }

                public void setPic(String pic) {
                    this.pic = pic;
                }

                public String getUid() {
                    return uid;
                }

                public void setUid(String uid) {
                    this.uid = uid;
                }

                public String getDate() {
                    return date;
                }

                public void setDate(String date) {
                    this.date = date;
                }

                public String getStatusX() {
                    return statusX;
                }

                public void setStatusX(String statusX) {
                    this.statusX = statusX;
                }

                public String getNickname() {
                    return nickname;
                }

                public void setNickname(String nickname) {
                    this.nickname = nickname;
                }
            }
        }
    }
}

